<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>eBay Cosplay商品搜索结果（带链接）</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            background-color: #f5f5f5;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        h1 {
            color: #333;
            text-align: center;
            margin-bottom: 30px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        th, td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        th {
            background-color: #4CAF50;
            color: white;
            position: sticky;
            top: 0;
        }
        tr:hover {
            background-color: #f5f5f5;
        }
        .title-col {
            max-width: 400px;
            word-wrap: break-word;
        }
        .price-col {
            font-weight: bold;
            color: #e74c3c;
        }
        .sold-col {
            color: #27ae60;
        }
        .info {
            margin-bottom: 20px;
            padding: 10px;
            background-color: #e8f5e8;
            border-radius: 4px;
        }
        a {
            color: #1a73e8;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
            color: #1557b0;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>📦 eBay Cosplay商品搜索结果（带链接）</h1>
        
        <div class="info">
            <strong>搜索关键词:</strong> cosplay from china<br>
            <strong>搜索时间:</strong> 2025-10-13 18:09:32<br>
            <strong>商品数量:</strong> 2 个<br>
            <strong>功能说明:</strong> 商品标题已添加可点击链接，点击可直接访问商品详情页面
        </div>
        
        <table>
            <thead>
                <tr>
                    <th>序号</th>
                    <th>商品标题（带链接）</th>
                    <th>价格</th>
                    <th>出售数量</th>
                </tr>
            </thead>
            <tbody>
    
                <tr>
                    <td>1</td>
                    <td class="title-col"><a href="https://www.ebay.com/itm/example1" target="_blank" title="点击访问商品详情">Anime Wonder Woman Costume Superhero Halloween Cosplay Dress Outfit Party Suit</a></td>
                    <td class="price-col">US $24.18</td>
                    <td class="sold-col">78K items sold</td>
                </tr>
        
                <tr>
                    <td>2</td>
                    <td class="title-col"><a href="https://www.ebay.com/itm/example2" target="_blank" title="点击访问商品详情">LED Robot Cosplay Glowing Costume Outfits Party Show Night Lights Clothing Suit</a></td>
                    <td class="price-col">US $440.53</td>
                    <td class="sold-col">1.6K items sold</td>
                </tr>
        
            </tbody>
        </table>
        
        <div style="margin-top: 20px; padding: 15px; background-color: #e3f2fd; border-radius: 4px;">
            <h3>🎯 新增功能说明</h3>
            <ul>
                <li><strong>可点击标题</strong>：每个商品标题现在都是可点击的链接</li>
                <li><strong>新窗口打开</strong>：点击链接会在新标签页中打开商品详情页面</li>
                <li><strong>悬停提示</strong>：鼠标悬停在标题上会显示"点击访问商品详情"提示</li>
                <li><strong>链接验证</strong>：脚本会自动验证URL有效性，只对有效链接添加点击功能</li>
            </ul>
        </div>
    </div>
</body>
</html>